package com.market.coupon.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.market.common.core.annotation.Excel;
import com.market.common.core.web.domain.BaseEntity;

/**
 * 优惠券类型对象 t_coupon_type
 *
 * @author market
 * @date 2024-03-04
 */
public class TCouponType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long couponTypeId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String couponTypeName;

    /** 枚举值 */
    @Excel(name = "枚举值")
    private String enumValue;

    public void setCouponTypeId(Long couponTypeId)
    {
        this.couponTypeId = couponTypeId;
    }

    public Long getCouponTypeId()
    {
        return couponTypeId;
    }
    public void setCouponTypeName(String couponTypeName)
    {
        this.couponTypeName = couponTypeName;
    }

    public String getCouponTypeName()
    {
        return couponTypeName;
    }
    public void setEnumValue(String enumValue)
    {
        this.enumValue = enumValue;
    }

    public String getEnumValue()
    {
        return enumValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couponTypeId", getCouponTypeId())
            .append("couponTypeName", getCouponTypeName())
            .append("enumValue", getEnumValue())
            .toString();
    }
}
